package com.ruoyi.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDateTime;

/**
 * 智联空间文档详情
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class SpaceDocumentDetail {

    private Long documentId;

    private String name;

    private String author;

    private Integer fileSize;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime uploadTime;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime updateTime;

    private Integer readTimes;

    private Integer downloadTimes;

    private String fileUrl;

    private String suffixType;
}
